package com.liujit.bms.app.domain.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
/**
 * @Description 博客文章评论
 * @Author liujun
 * @Date 2021-07-17 10:16:09
 */
@Data
@ApiModel(value = "BlogArticleComment", description = "博客文章评论")
@TableName(value = "blog_article_comment")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class BlogArticleComment implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    @ApiModelProperty(value = "文章id")
    private Long articleId;

    @ApiModelProperty(value = "评论id")
    private Long pid;

    @ApiModelProperty(value = "会员id")
    private Long memberId;

    @ApiModelProperty(value = "评论内容")
    private String comment;

    @ApiModelProperty(value = "是否打开：1、是。0、否。")
    private Short isOpen;

    @ApiModelProperty(value = "评论时间")
    private Date commentTime;
}